package com.itxx.homeWork.test2;

public abstract class MotorVehicles {
    private String name;
    private String price;

    public MotorVehicles() {
    }

    public MotorVehicles(String name, String price) {
        this.name = name;
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public abstract void run();


}
